#pragma once
#include "istatu.h"
#include "CStaticText.h"
#include "AniImag.h"

enum{
	TALK_CALLIN,
	TALK_CALLOUT,
	TALK_ONCALL
};

class CComingCallStatu :
	public IStatu
{
public:
	CComingCallStatu(WCHAR * name);
	~CComingCallStatu(void);
	virtual bool EnterStatu();

	virtual bool ExitStatu();

	virtual bool EvaluateClickEvent(const WCHAR* elementName);
    void Count();
	int  GetCount(){return m_time;}

	void StartTimer();
	void StopTimer();
	void ShowKey();
	void SetStatuType(int nType);

	
	int m_time;
	CStaticText *m_nCountTimer;
	CStaticText *m_pScreenTxt;
	bool m_bShowButton;
	int m_nType;
	CAniImag *m_pAniCallIn;
	CAniImag *m_pAniCallOut;
	CAniImag *m_pAniOnCall;
	wstring m_strScreenOut;
	TCHAR m_szCode[256];


};
